/// SettleDto
class SettleDto {
  /// 财务代理团队ID
  final int agencyTeamId;
  /// 结账金额，结账成功后，将记入财务团队当前账户余额中，单位美元
  final int amount;
  /// 本次结账关联的历史提现订单ID列表
  final List<int> hisOrderIdList;

  SettleDto({
    required this.agencyTeamId,
    required this.amount,
    required this.hisOrderIdList,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['agencyTeamId'] = agencyTeamId;
    data['amount'] = amount;
    data['hisOrderIdList'] = hisOrderIdList;
    return data;
  }

  factory SettleDto.fromJson(Map<String, dynamic> json) {
    return SettleDto(
      agencyTeamId: json['agencyTeamId'],
      amount: json['amount'],
      hisOrderIdList: json['hisOrderIdList'] != null ? List<int>.from(json['hisOrderIdList']) : [],
    );
  }
}